//package com.wst.system.config.sharding.config.ds;
//
//import io.shardingsphere.api.algorithm.sharding.RangeShardingValue;
//import io.shardingsphere.api.algorithm.sharding.standard.RangeShardingAlgorithm;
//import lombok.extern.slf4j.Slf4j;
//
//import java.util.Collection;
//import java.util.Collections;
//import java.util.HashSet;
//
////范围查询
//@Slf4j
//public class DsTableRangeShardConfig implements RangeShardingAlgorithm<Long> {
//
//    @Override
//    public Collection<String> doSharding(Collection<String> collection, RangeShardingValue<Long> rangeShardingValue) {
//        Collection<String> routTables = new HashSet<>();
//        for (String tableName : collection) {
//            log.info("tableName:{}", tableName);
//        }
//        routTables.add("sharding_ds_01");
//        return routTables;
//    }
//}
